package com.lxk.mall.pms.domain.vo.category;

import com.lxk.mall.pms.domain.PmsProductCategory;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 商品分类视图对象 pms_product_category
 *
 * @author Lion Li
 * @date 2024-06-06
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PmsProductCategory.class)
public class PmsProductCategoryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分类编号
     */
    @ExcelProperty(value = "分类编号")
    private Long id;

    /**
     * 商户id
     */
    private Long merId;

    /**
     * 父分类编号
     */
    @ExcelProperty(value = "父分类编号")
    private Long parentId;

    /**
     * 分类名称
     */
    @ExcelProperty(value = "分类名称")
    private String name;

    /**
     * 移动端分类图
     */
    @ExcelProperty(value = "移动端分类图")
    private String picUrl;

    /**
     * 分类排序
     */
    @ExcelProperty(value = "分类排序")
    private Long sort;

    /**
     * 开启状态
     */
    @ExcelProperty(value = "开启状态")
    private Integer status;

    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
